package com.liang.io;

import java.io.FileInputStream;
import java.io.IOException;

public class IoInput {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("D:\\itheima\\Test09.java");
        int len = -1;
        byte[] b = new byte[1024];
        while ((len = fis.read(b)) != -1) {
            System.out.println(new String(b,0,len));
        }

    }
}
